﻿using System;
namespace Producers.Karis.Xtee.Riik.Ee.Producer.Karis {
    
    
    public partial class Viga : global::Producers.Karis.Xtee.Riik.Ee.Producer.Karis.IViga {
        
        private decimal @__kood;
        
        private string @__teade;
        
        public Viga() {
        }
        
        /// <summary>
        /// All parameters
        /// </summary>
        public Viga(decimal @kood, string @teade) {
            this.@__kood = @kood;
            this.@__teade = @teade;
        }
        
        /// <summary>
        /// Required parameters
        /// </summary>
        public Viga(decimal @kood) {
            this.@__kood = @kood;
        }
        
        /// <summary>
        /// Copy Constructor
        /// </summary>
        protected Viga(IViga @viga) {
            this.@__kood = @viga.Kood;
            this.@__teade = @viga.Teade;
        }
        
        public virtual decimal Kood {
            get {
                return this.@__kood;
            }
            set {
                this.@__kood = value;
            }
        }
        
        public virtual string Teade {
            get {
                return this.@__teade;
            }
            set {
                this.@__teade = value;
            }
        }
    }
}
